#include <tlv.h>
#include <string.h>
#include <stdio.h>
#include "ThreadService.h"
#include "com.pb.h"

std::string sendBlock(std::string const& block)
{
	TLV header(block.size());
	std::string data(header.getHeaderAsString());
	data.append(block);
	return data;
}

